﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDEE.Model
{
    /// <summary>
    /// 盖梁基类
    /// </summary>
    public abstract class BeamBufferBase : MemberBase
    {
        public double Width; // 总宽度，左侧总宽度      
        public int CalculatedHeight, Height; // 盖梁计算高度，总高度（非隐形盖梁时两者相等）
         

        protected BeamBufferBase(string typeName, string pierNumber, 
            int height, double width):
            base(typeName,pierNumber)
        {
            Height = height;
            Width = width;
        
        }
        /// <summary>
        /// 混凝土强度设置
        /// </summary>
        public override void SetConcreteClass()
        {
            ConcreteClass = eConcreteClass.C45;
        }

    }

    public abstract class BufferBase : BeamBufferBase
    {
       
        protected BufferBase(string typeName, string pierNumber, 
            int height, double width) :
            base(typeName, pierNumber, height, width)
        {         
           
        }

        public override void SetConcreteVolume()
        {
          
            ConcreteVolumn =0 ;
        }
    }

}
